home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
comm
/
tcp
/
SRTG.readme
< prev
next >
Wrap
Text File
|
2000-11-01
|
3KB
|
100 lines
Short: Simple Router Traffic Grapher for MiamiDx, a MRTG like tool.
Author: Michael Bruyere (bruyere@nerim.net)
Uploader: Michael Bruyere (bruyere@nerim.net)
Version: 1.0
Type: comm/tcp
Requires: MiamiDx1.0c (perhaps miami) , OS3.0, gnuplot, grep & cut
SRTG monitor your network global traffic load and round trip time,
and plot it in a picture.
It is only a fast made and simple tool. Port of MRTG is difficult
as MiamiDX has no SNMP interface.
It use an arexx script (for monitoring) and a Gnuplot script (for plotting)
Features
--------
- monitor
the global traffic load
the roundtrip time (ping)
- log all results
you can show a daily graph with 5mn step (Default)
or monthly grap, current hour graph ...
or what you want, just play with the gnnuplot script.
Install
-------
- First you need ta have Gnuplot installed,
and have it in you command path.
(you can get it from aminet/gfx/misc/gnuplot-bin.lha)
- I use grep and cut command too (mine are from GeekGadgets)
- Put the SRTG directory somewhere
(in 'miami:scripts/' for example)
- Edit the SRTG.rexx script to correct path
- Edit the gnuplot script (SRTG.cmd) if you want to change the name
and place of the generated picture.
Usage
-----
- start the script rx <path/to/SRTG>/SRTG.rexx [interface]
You can start it from MiamiDx->Events->Start
The optionnal interface is the name of the interface to monitor.
(default is default miami interface)
You can put the picture directly on your web server,
or ready to be upload on it, with a page to monitor results.
Note
----
- If, your battery backed-up clock is dead,
and you're using an NTP server
to set your computer time, BE CAREFULL !
Miami start before your call to NTP, so every info
it return (like onlinetime) take origin at the date and time
before NTP call ...
I use the following workaround (not nice, but it work)
copy the NTPdelta.rexx script somewhere
Correct it to use your NTP client (It use facts in french)
and change line 36 of SRTG.rexx
< timeOffset = 0
bye > timeOffset = GetTimeOffSet()
Todo
----
If i found time, a C/C++ program using callback hook feature of Miami should be better.
Feedback
--------
Comments, criticisms or suggestions may be addressed to -
bruyere@homemail.com
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
2353 1183 49.7% 19-Sep-00 21:33:18 SRTG.readme
1219 536 56.0% 12-Sep-00 08:16:00 +NTPDelta.rexx
675 391 42.0% 10-Sep-00 23:18:54 +SRTG.cmd
157679 55629 64.7% 10-Sep-00 14:54:10 +SRTG.dat
3394 1308 61.4% 19-Sep-00 21:25:50 +SRTG.rexx
-------- ------- ----- --------- --------
165320 59047 64.2% 23-Sep-100 04:30:34 5 files